package me.zhengjie.domain;

import lombok.RequiredArgsConstructor;
import me.zhengjie.dto.sqlServer.ProductionStation;
import me.zhengjie.repository.ProductionStationRepository;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class ProStationService {

    private final ProductionStationRepository productionStationRepository;

    public ProductionStation findById(int id) {
        return productionStationRepository.findProductionStationById(id);
    }
}
